import { http } from '@/utils/http'
//预分卷table列表接口
export function managementPage(data) {
  return http({
    url: "/api/production-reel-management/page?sort=createTime,desc",
    method: "post",
    data
  });
}
//确认上线接口
export function confirmOnline(id,operator) {
  return http({
    url: `/api/production-reel-management/${id}/confirm-online?operator=${operator}`,
    method: "post",
  });
}

//预分卷接口
export function preManagemenTreel(id,operator,plannedReelCount) {
  return http({
    url: `/api/production-reel-management/${id}/pre-reel?operator=${operator}&plannedReelCount=${plannedReelCount}`,
    method: "post",
  });
}
